package com.yc.common.expection;

import com.yc.common.enums.ResultCode;

public class SqlException extends BaseException{
    public SqlException(String msg) {
        this.msg = msg;
        this.code = ResultCode.SQL_ERROR.getCode();
    }

    public SqlException() {
        this.msg = ResultCode.SQL_ERROR.getMsg();
        this.code = ResultCode.SQL_ERROR.getCode();
    }

}
